<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>总部物料</title>
    <link rel="stylesheet" href="css/base.css">
    <script src="js/base.js"></script>
</head>
<body>
<div class="all">
    <script src="js/top.js"></script>
    <div class="cnt"><div style="min-height:400px" class="nav" id="nav"></div>
        <script src="js/nav.js"></script>

        <div class="main">
            <div class="main_top">
                <h3>总部物料</h3>
                <div class="search" id="search_div">
                    <input id="stitle" placeholder="物料名称/类型"/>
                    <img id="search_btn"
                         onclick="search()"
                         width="16" src="images/search.png"/>
                </div>
                <div class="btn" id="add_btn"
                     onclick="add()">新增总部物料</div>
                <div class="btn" id="save_btn" style="display:none"
                     onclick="save()">保存</div>
                <div class="btn" id="return_btn" style="display:none"
                     onclick="returnMain()">返回</div>
            </div>
            <div id="loading" style="text-align: center;height:300px;line-height: 300px">
                <img src="images/loading.webp"/>
            </div>
            <div id="list_div"></div>
            <div id="add_div" style="display:none;">
                <table>
                    <tr class="input_div">
                        <td><span style="color:red">* </span></td>
                        <td align="left">物料类型：</td>
                        <td><input id="obj_type"/><br/>
                            <div id="obj_type_error" style="color:red"></div>
                        </td>
                    </tr>
                    <tr class="input_div">
                        <td><span style="color:red">* </span></td>
                        <td align="left">物料名称：</td>
                        <td><input id="name123"/><br/>
                            <div id="name_error" style="color:red"></div>
                        </td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">物料编码：</td>
                        <td><input id="code"/></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">物料SN号：</td>
                        <td><input id="code_SN"/></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">供应商类型：</td>
                        <td><input id="admin_type" /></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">供应商名称：</td>
                        <td><input id="admin_name"/></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">供应商编码：</td>
                        <td><input id="admin_code" /></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">物料仓库：</td>
                        <td><input id="obj123"  /></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">成本价：</td>
                        <td><input id="money"/></td>
                    </tr>
                    <tr class="input_div">
                        <td></td>
                        <td align="left">状态：</td>
                        <td><input id="status1" /></td>
                    </tr>

                </table>
            </div>
        </div>
    </div>
<!--    <script src="js/bot.js"><1/script>-->
</div>
<script src="js/zongbu.js"></script>
</body>
</html>
